import Http from '@/http';

export function pageApi(params:any) {
    return Http.get('pricingRule/page?type=1', params)
}

export function saveApi(params:any) {
    return Http.post('pricingRule/add?type=1', params)
}

export function deleteApi(id:number) {
    return Http.delete('pricingRule/del/1/' + id)
}

export function optionsApi() {
    return Http.get('pricingRule/options?type=1')
}